import request from "../utils/request"//导入request实例对象
//将与服务端的交互代码放在api这一层
//查询学员
export const queryStuApi = (name,degree,clazzId,page,pageSize)=>request.get(`/students?name=${name}&degree=${degree}&clazzId=${clazzId}&page=${page}&pageSize=${pageSize}`)

//新增学员
export const addStuApi = (student)=>request.post('/students',student)
